#include <iostream>
#include <cmath>
#include <iomanip>
#include <cstring>

using namespace std;

class Account
{
private:
    static float count; // 账户总余额
    static float interestRate;
    string accno, accname;
    float balance;

public:
    Account(string ac, string na, float ba);
    ~Account();
    void deposit(float amount);              // 存款
    void withdraw(float amount);             // 取款
    float getBalance();                      // 获取账户余额
    void show();                             // 显示账户基本信息
    static float getCount();                 // 获取账户总余额
    static void setInterestRate(float rate); // 设置利率
    static float getInterestRate();          // 获取利率
    friend void update(Account &a);
};

Account::Account(string ac, string na, float ba)
{
    accno = ac;
    accname = na;
    balance = ba;
}

void Account::deposit(float amount)
{
    count += amount;
}

void Account::withdraw(float amount)
{
    count -= amount;
}

float Account::getBalance()
{
    return balance;
}

void Account::show()
{
    
}

int main()
{

    return 0;
}

/*

*/